﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Thanhlichtek.BOS.Bullhorn.BullhornApi;
using Thanhlichtek.BOS.Bullhorn;

namespace Thanhlichtek.BEF.Win
{
    public class FixInfoObject
    {
        public List<FixInfoDetailObject> FixInfoDetailObjects = new List<FixInfoDetailObject>();
        public Account BullhornAccount { get; set; }
        public distributionListDto BullhornList { get; set; }
        public corporateUserDto CorporateUser { get; set; }

        public String BullhornUserName { get { return BullhornAccount.UserName; } }
        public String BullhornListName { get { return BullhornList.name; } }
        public int BullhornListId { get { return BullhornList.distributionListID; } }
        public String Progress { get; set; }
        public String Status { get; set; }
        public int NoOfClientContacts { get; set; }

        public int NoOfFixedClientContacts { get; set; }
        public int NoOfFailed { get; set; }
        public int NoOfIgnored { get; set; }

        public String SalesPerson { get { return CorporateUser.firstName + " " + CorporateUser.lastName; } }
    }
}
